package com.akk.module.app.mapper;

import com.akk.module.app.entity.AppAgentGrade;
import com.akk.module.app.entity.AppAgentGradeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppAgentGradeMapper {
    int countByExample(AppAgentGradeExample example);

    int deleteByExample(AppAgentGradeExample example);

    int deleteByPrimaryKey(String agentGradeId);

    int insert(AppAgentGrade record);

    int insertSelective(AppAgentGrade record);

    List<AppAgentGrade> selectByExample(AppAgentGradeExample example);

    AppAgentGrade selectByPrimaryKey(String agentGradeId);

    int updateByExampleSelective(@Param("record") AppAgentGrade record, @Param("example") AppAgentGradeExample example);

    int updateByExample(@Param("record") AppAgentGrade record, @Param("example") AppAgentGradeExample example);

    int updateByPrimaryKeySelective(AppAgentGrade record);

    int updateByPrimaryKey(AppAgentGrade record);
}